package com.soecode.wxtools.bean.result;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class TemplateResult extends WxError {

    private String template_id;

    private String title;
    private String primary_industry;
    private String deputy_industry;
    private String content;
    private String example;

    public static TemplateResult fromJson(String json) {
        return JSONObject.parseObject(json, TemplateResult.class);
    }
}
